<?php
//debug($prpData);
//$groupFileds
if($billData){
?>
 <div id="" class="list-table" style="border: 1px solid #B2B2B2; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;">
      <div class="apply-prompt" ></div>
      <table width="100%">
        <thead style="background-color: #1C1C1C; font-size: 12px; font-family: Verdana,Arial,sans-serif; color: white;">
            <th width="15%"><?php  echo 'Amount '.CURRENCY ;?></th>
            <th width="15%">Date</th>
            <th width="10%">Type</th>
            <th width="15%">Receipt No.</th>
            <th >Received From</th>
        </thead>
      </table>
      <div  style="height: 250px; overflow: auto; margin-top: 10px;">
          <table id="applybill-table-data" class="list-table-data" width="100%" border="0">
             <tbody>
              <?php 
                    foreach($billData['BillPayment'] as $prp){
                     ?>
                        <tr>
                            <td width="15%" align="center">
                                <?php echo $prp['amount']; ?>
                            </td>
                            <td width="15%" align="center">
                                <?php echo $prp['date']; ?>
                            </td>
                            <td width="10%"align="center">
                                <?php echo $prp['type']; ?>
                            </td>
                            <td width="15%"align="center">
                                <?php echo $prp['receipt_no']; ?>
                            </td>
                            <td align="center">
                                <?php echo $prp['recieved_from']; ?>
                            </td>
                        </tr>
                     <?php 
                   }
              ?>
            </tbody> 
          </table>
      </div>
 </div>
<?php    
}
else{
    echo "No Data At the Moment.";
}

?>